import request from "@/utils/request";

// 设备服务概览
export function countDevice(data) {
  return request({
    url: "/v1/device/countDevice",
    method: "get",
    params: data
  });
}

// 当日消息概览
export function getMessages(data) {
  return request({
    url: "/v1/task/messages",
    method: "get",
    params: data
  });
}

// 任务使用概况
export function getCountTask(data) {
  return request({
    url: "/v1/task/countTask",
    method: "get",
    params: data
  });
}
